///
/// @author: maker
/// @date: 2021/4/20 16:49
/// description: 导出考勤统计参数
///

/// email : "string"
/// endTime : "string"
/// startTime : "string"
/// storeId : 0
/// userId : 0
/// userType : "UNAUTHORIZED"

class ExportSignStatisticsParams {
  String email;
  String endTime;
  String startTime;
  int storeId;
  int userId;
  String userType;

  static ExportSignStatisticsParams fromMap(Map<String, dynamic> map) {
    if (map == null) return null;
    ExportSignStatisticsParams exportSignStatisticsParamsBean = ExportSignStatisticsParams();
    exportSignStatisticsParamsBean.email = map['email'];
    exportSignStatisticsParamsBean.endTime = map['endTime'];
    exportSignStatisticsParamsBean.startTime = map['startTime'];
    exportSignStatisticsParamsBean.storeId = map['storeId'];
    exportSignStatisticsParamsBean.userId = map['userId'];
    exportSignStatisticsParamsBean.userType = map['userType'];
    return exportSignStatisticsParamsBean;
  }

  Map toJson() => {
    "email": email,
    "endTime": endTime,
    "startTime": startTime,
    "storeId": storeId,
    "userId": userId,
    "userType": userType,
  };
}